@borderColor :rgba(239, 239, 239, 1);
@bottomHeader: 50px;

.send-list {
	line-height: 30px;
	text-align: center;
}
.read-list{
	display: flex;
	flex-direction: column;
	// justify-content: space-around;
	.list-tip{
		margin-left: 6px;
	}
	.list{
		font-size: 12px;
		height: 150px;
		overflow: auto;
		.list-item{
			display: flex;
			width: 150px;
			margin: 5px;
			.list-item-avator{
				border-radius: 30px;
			}
		}

	}
}
.ant-popover-title{
	// background-color: #dcdcdc;
	font-weight: 600!important;
	// text-align: start!important;
	padding: 5px 6px 4px!important;
	font-size: 13px;
}
.ant-popover-title {
	text-align: center;
}

i,
button {
	-webkit-app-region: no-drag;
}
.select-modal{
	.ant-input-affix-wrapper {
		position: absolute;
		top: 0;
		
	}
}
.main-wraper {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	.main-wraper-dragbox{
		height: 22px;
		position: absolute;
		width: 100%;
		left: 0;
		z-index: 10;
		app-region: drag;
	}
	.main-header {
		padding: 14px 12px;
		height: 60px;
		background: #3468f5;
		display: flex;
		align-items: center;
		-webkit-app-region: drag;

		.search-wraper {
			width: 190px;
			margin-right: 14px;

			.ant-input-affix-wrapper {
                .ant-input {
                    background: #2550c3;
                    border: 1px solid #3468f5;
                    color: #e2e2e2;
                    font-size: 14px;
                    font-weight: normal;
                    -webkit-app-region: no-drag;
                }
			}

			input::-webkit-input-placeholder {
				color: #8ca6f5;
				font-size: 14px;
				font-weight: normal;
			}
		}
		.main-avator {
			right: 140px;
			position: absolute;
			text-align: center;
			.click-me {
				opacity: 0;
				left: -37px;
				position: absolute;
			}
		}
	}

	.ant-popover-title {
		text-align: center;
	}
	.send-list {
		max-width: none;
	}
	.main-body {
		display: flex;
		flex: 1;
		overflow: hidden;
		width: 100%;
	}

	/* 仅显示两列内容 **/
	.main-body-full{
		.left-list{
			overflow: hidden;
			width: 70px;
			min-width: 70px;
		}
	}
	.left-list {
		display: flex;
		
		flex-direction: row;
		// min-width: 390px;
		width: 340px;
		border-right: 1px solid #e2e4e9;
		background-color: #fbfcfe;
		user-select: none;
		-webkit-user-select: none;
		position: relative;
		.list-wraper {
			display: flex;
			flex: 1;
			flex-direction: column;
			overflow: hidden;
			background: #F5F8FF;
		}
		.netstatus{
			margin-left: 12px;
			margin-right: 12px;
			margin-bottom: 12px;
			position: absolute;
			bottom: 0;
			& > div{
				font-size: 12px;
				padding: 5px;
			}
		}
		.nav-box {
			// -webkit-app-region: drag;
			position: relative;
			.dragbox{
				-webkit-app-region: drag;
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				//display: none;
			}
			.unread-dot{
				position: absolute;
				width: 14px;
				height: 14px;
				background: red;
				border-radius: 100%;
				color: white;
				line-height: 14px;
				right: 2px;
				top: 1px;
				font-size: 8px;
			}
			.main{
				position: relative;
			}
			.versionType{
				color:white;
				text-align: center;
				left: 10px;
				position: absolute;
				font-size: 12px;
				top: 5px;
			}
			background: linear-gradient(to top, #32a8fd 70%, #267bfb 100% );
			width: 64px;
			display: flex;
			justify-content: space-between;
			flex-direction: column;

      &.w3{
				z-index: 9999;
			}
		 .icon{
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
				height: 60px;
				width: 60px;
				margin: 0 auto;
			}
			.item {
				position: relative; // fix item can't click
				width: 46px;
				height: 46px;
				font-size: 11px;
				display: flex;
				flex: 1;
				margin:0 auto;
				margin-top: 30px;
				line-height: 50px;
				text-align: center;
				// background: #E0ECFE;
				border-radius: 6PX;
				// border-top: 1px solid @borderColor;
				color: #fff;
				display: flex;
				align-items: center;
				justify-content: center;
    			flex-direction: column;
				-webkit-app-region: none;
				-webkit-user-drag: none;
				.label{
					line-height: 12px;
					margin-top: 3px;
				}

				img {
					max-height: 24px;
					max-width: 24px;
					-webkit-user-drag: none;
				}
				.avator{
					max-width: 46px;
					max-height: 46px;
					user-select: none;
					-webkit-user-select: none;
					-webkit-app-region: no-drag;
				}

				&:hover {
					cursor: pointer;
					opacity: .8;
				}
			}
			.selected{
				background-color: rgba(255, 255, 255, 0.2); /* 白色背景，50%透明度 */
				color:white;
			}
			
		}
	}

	.right-content {
		display: flex;
		flex-direction: column;
		flex: 1;
		overflow: hidden;
		.no-data{
			-webkit-app-region: drag;
		}
	}
	.settings{
		position: relative;
		cursor: pointer;
		cursor: pointer;
		font-size: 11px;
   		-webkit-app-region: no-drag;
		color:#ffffff;
	}
}

.message-item-wraper {
	border-bottom: 1px solid lightgray;
	margin-bottom: 16px;

	.message-content {
		max-width: 75%;
		word-wrap: break-word;
	}
}

.chat-detail-body {
	height: 100%;
	display: flex;
	flex-direction: column;
	background-color: #f4f8fb;
	position: relative;
	flex-direction: column;
	.messages-body {
		display: flex;
		flex: 1;
		overflow-y: auto;
		overflow-x: hidden;
		flex-direction: column;
		.loading-wrap{
			position: absolute;
			padding-top: 36%;
			width: 100%;
			height: 100%;
			text-align: center;
			background: rgba(255, 255, 255, 0.5);
			z-index: 1;
		}
	}

	.chat-send-box {
		min-height: 50px;
		border-top: 1px solid #e4e4e4;
	}
}

.message-sendtextemoj-style {
	img {
		width: 20px;
	}
	a{
		text-decoration: underline;
	}
	a.link{
		text-decoration: none;
	}
	a.link[data-type=link]{
		text-decoration: underline;
	}
}

.message-sendtext-style {
	display: inline-block;
}

.addfriend-box {
	.search-wraper {
		display: flex;
		justify-content: space-between;
		align-items: center;

		input {
			width: 75%;
			height: 36px;
			background: #ffffff;
			border: 1px solid #d9d8d8;
			outline: none;
			font-size: 14px;
			color: #969696;
			padding: 0 10px;
			-webkit-app-region: no-drag;
		}
	}

	.search-user-wraper {
		min-height: 64px;

		.user-item {
			display: flex;
			line-height: 40px;
			justify-content: space-between;
		}
	}

	.no-data {
		line-height: 64px;
		text-align: center;
		-webkit-app-region: drag;
	}

	.user-name {
		margin-left: 8px;
	}
}


* {
	margin: 0;
	padding: 0;
}



#zmageControl {
	background: rgba(0, 0, 0, .8);
}


/**
 settings dialog 
*/ 
.setting-wrapper{
	display: flex;
	flex-direction: row;
	height: 100%;
	.setting-left{
		flex-basis: 260px;
		flex:1 0 auto;
	}
}
::selection {
	background-color: #cccccc69;
	color: #000000;
}
